<div id="page-wrapper">
	<div class="row">
		<div class="col-lg-12">
			<h3 class="page-header">
                <span>{$enroll['title']}</span>
				<span>报名列表</span>
			</h3>
		</div>
	</div>	
	<div class="row">
		<div class="col-lg-12">
			<div class="panel panel-default">
				<div class="panel-heading">
					<form id="enroll_records" name="enroll_records" method="get" class="placedInline"> 
						<button type="submit" formaction="{:U('User/EnrollRecord/delete')}" formmethod="post" class="btn btn-sm btn-warning dword-size">删除</button>
                        <button type="submit" formaction="{:U('User/EnrollRecord/download', array( 'enroll' => $enroll['id'] ))}" formmethod="post" class="btn btn-sm btn-success dword-size">数据导出</button>
                        <div class="pull-right">
							<label for="telephone" class="font-sm">手机号码</label>
							<input name="telephone" class="margin-horizontal-right normal-width" placeholder="请输入手机号码" value="{$telephone}" form="enroll_records" >
                            <button type="submit" formaction="{:U('User/Enroll/data', array('enroll'=>$enroll['id']))}" formmethod="post" class="font-sm" >搜索</button>
                        </div>
					</form>
				</div>
				<!-- /.panel-heading -->
				<div class="panel-body">
					<div class="table-responsive">
						<table class="table">
							<thead>
								<tr>
									<th><input type="checkbox" data-action="checkboxAll"></th>
									<th>编号</th>
									<th>姓名</th>
									<th>手机</th>
									<th>公司</th>
									<th>企业简介/个人简介</th>
                                    <!--<th class="">操作</th> -->
								</tr>
							</thead>
							<tbody>
								<foreach name='enrollRecords' item='record' >
									<tr>
										<td><input type="checkbox" form="enroll_records" data-action="checkboxOnce" name="items[]" value="{$record['id']}"></td>
										<td>{$record['id']}</td>
										<td>{$record['username']}</td>
										<td>{$record['telephone']}</td>
										<td>{$record['company']}</td>
										<td>{$record['introduction']}</td>
                                        <!--<td>
                                            <a type="button" href="{:U('User/EnrollRecord/delete',array('item' => $record['id']))}" class="btn btn-xs btn-primary" disabled>删除</a>
                                        </td> -->
									</tr>
								</foreach>
							</tbody> 
						</table>
					</div>
					<!-- /.table-responsive -->
                    <div class="pages">
                        {$page}
                    </div>

				</div>
				<!-- /.panel-body -->
			</div>
			<!-- /.panel -->
		</div>
		<!-- /.col-lg-6 -->
	</div> 
<!-- /.row -->
</div>
<!-- /#page-wrapper -->
<import type="js" file="common" basepath="/Public/js" />
<script type="text/javascript">
	common.multiSelect.init( "checkboxAll", "checkboxOnce" );
</script>
